package com.centriole.service.workflow.entity.shiro;

import java.io.Serializable;

/**
 * 系统权限实体
 */
@SuppressWarnings("serial")
public class Permission implements Serializable{
    private String permissionId;
    
    private String permissionResource;

    private String permissionName;

    /**
     * 操作标识
     */
    private String permissionSn;

    public Permission() {
		super();
	}

	public Permission(String permissionId , String permissionResource, String permissionName,String permissionSn) {
		super();
		this.permissionId = permissionId;
		this.permissionResource = permissionResource;
		this.permissionName = permissionName;
		this.permissionSn = permissionSn;
	}

	public String getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(String permissionId) {
        this.permissionId = permissionId;
    }

    public String getPermissionResource() {
        return permissionResource;
    }

    public void setPermissionResource(String permissionResource) {
        this.permissionResource = permissionResource == null ? null : permissionResource.trim();
    }
    
    public String getPermissionName() {
    	return permissionName;
    }
    
    public void setPermissionName(String permissionName) {
    	this.permissionName = permissionName == null ? null : permissionName.trim();
    }

    public String getPermissionSn() {
        return permissionSn;
    }

    public void setPermissionSn(String permissionSn) {
        this.permissionSn = permissionSn == null ? null : permissionSn.trim();
    }
}